package com.shiftl.data.jdo;

import java.util.Collection;
import java.util.LinkedList;

import com.google.appengine.api.datastore.Key;
import com.google.appengine.api.datastore.KeyFactory;

public class ORMUtil {

	public static Collection<String>  keysToStrings(Collection<Key> keys){
		Collection<String> ids = new LinkedList<String>();
	    for(Key key: keys){
	    	ids.add(KeyFactory.keyToString(key));
	    }
	    return ids;
	}
}
